package com.qf.edu.service.impl;

import com.qf.edu.dao.GetDrugs;
import com.qf.edu.dao.impl.GetDrugsImpl;
import com.qf.edu.entity.Drugs;
import com.qf.edu.service.GetDrugsService;

import java.util.List;

/**
 * @author:huayuzhuo
 * @email:2798866329@qq.com
 * @desc:GetDrugsService接口实现类
 * @datatime: 2022/5/31 8:53
 */
public class GetDrugsServiceImpl implements GetDrugsService {
    GetDrugs drugs = new GetDrugsImpl();
    @Override
    public List<Drugs> getDrugsSer(Drugs drugsf) {
        List<Drugs> drug = drugs.getDrug(drugsf);
        if (drug != null){
            return drug;
        }
        return null;
    }

}
